import { combineReducers } from 'redux'
import { routerReducer } from 'react-router-redux'
import auth from './auth'


/**
 * 规则合并
 * 所有的reducer全部都在这个方法中合并成一个reducer。
 */
const rootReducer = combineReducers({
    auth,
    router: routerReducer,
})

export default rootReducer;